{% include 'head.html' %}








<body>





  <!-- 最为层容器 -->
  <div class="jd_container">

    <!-- 顶部 -->
    <div class="jd_header" style="height: 50px;background: #dce2ec;width: 100%">

      <!--<span style="float: left;margin-left: -18%;margin-top: 15px;">货比三家</span>-->
      <a onclick="window.history.back();" >
        <div style="width: 10%;margin-left: -20%;">
        <span style="float: left;margin-top: 12px;font-size: 23px;color: #000;">
          <i class="fa fa-chevron-left">
          </i>
        </span>
        </div>
      </a>
      
      <div style="text-align:center;margin-top: 5%;float: left;width: 95%;">
        <span style="font-size: 19px;"><b>选择发布信息的类型与模板</b></span>
      </div>

      <a onclick="window.history.back();" >
        <div style="margin-right: -15%;float: right;margin-top: 12px;">
        <span style="font-size: 23px;color: #000;top:0;">
          <i class="fa fa-question-circle">
          </i>
        </span>
      </div>
      </a>


    

    </div>


  
    
    





    <!-- 导航栏 -->
    <div class="jd_nav" style="background-color: #fff;">




      <div style="text-align:center;margin-top: 25%;">

            <h4>请选择您要发布的类型</h4>

            <a id="fx" onclick="fbxzbutton(this);">
            <div id="fx_btn" class="fb_button" style="width: 21%;height: 120px;float: left;margin:2%;">
                <div style="width: 100%;height: 60px;text-align:center;margin-top: 3px;">
                  <img style="width: 60px;height: 60px;" src="http://118.25.137.1/h5/fb_fx.png">
                </div>
                <div style="width: 100%;height: 20px;text-align:center;margin-top: 10px;">
                  <span>购物分享或商品分享</span>
                </div>
            </div>
            </a>

            <a id="rs" onclick="fbxzbutton(this);">
            <div id="rs_btn" class="fb_button" style="width: 21%;height: 120px;float: left;margin:2%;">
                <div style="width: 100%;height: 60px;text-align:center;margin-top: 3px;">
                  <img style="width: 60px;height: 60px;" src="http://118.25.137.1/h5/fb_2s.png">
                </div>
                <div style="width: 100%;height: 20px;text-align:center;margin-top: 10px;">
                  <span>发布我的二手信息</span>
                </div>
            </div>
            </a>

            <a id="zy" onclick="fbxzbutton(this);">
            <div id="zy_btn" class="fb_button" style="width: 21%;height: 120px;float: left;margin:2%;">
                <div style="width: 100%;height: 60px;text-align:center;margin-top: 3px;">
                  <img style="width: 60px;height: 60px;" src="http://118.25.137.1/h5/fb_zy.png">
                </div>
                <div style="width: 100%;height: 20px;text-align:center;margin-top: 10px;">
                  <span>发布我的资源信息</span>
                </div>
            </div>
            </a>

            <a id="gg" onclick="fbxzbutton(this);">
            <div id="gg_btn" class="fb_button" style="width: 21%;height: 120px;float: left;margin:2%;">
                <div style="width: 100%;height: 60px;text-align:center;margin-top: 3px;">
                  <img style="width: 60px;height: 60px;" src="http://118.25.137.1/h5/fb_gg.png">
                </div>
                <div style="width: 100%;height: 20px;text-align:center;margin-top: 10px;">
                  <span>发布推广或营销广告</span>
                </div>
            </div>
            </a>


      </div>
      
      

       



    </div>

    

    
      

    

   

<hr style="margin-top: 38%;">


<div style="text-align:center;">
  
  <h4>请选择模板</h4>

    <select id="mb">
    <option value="2">文字内容+2张图</option>
    <option value="1">文字内容+1张图</option>
    <option value="3">文字内容+4张图</option>
    <option value="4">文字内容+1个视频</option>

  </select>

</div>


<hr style="margin-top: 10%;">

<div style="text-align:center;margin-top: 10%;">
  <a onclick="xzend();" style="width: 60%;" class="btn btn-large btn-primary disabled">确认</a>
</div>


  <br>

    <!-- 京东内容区域 -->
    <div class="jd_mian" id="container">
      <div class="main_content" style="background-color: #edf4ff;">
        
        
        


      
        
        



        



      </div>
    </div>


    

  </div>



<script type="text/javascript">

        var fbtype = "";

        function fbxzbutton(obj){




          //alert(obj.id);
          var okshow = "#"+obj.id+"_btn";
          //alert(okshow);
            fbtype = obj.id;
           $(".fb_button").css("background-color","#fff");

          $(okshow).css("background-color","#D8BFD8");

          //alert(fbtype);
        }



        function xzend(){
          if(fbtype != ""){
            //href="/fabumain"
            
            var mbval = $("#mb").val();
            //webToast(mbval,"middle",2000);
            window.location.href="/fabumain?xxtype="+fbtype+"&mbtype="+mbval;
          }
          else{
            webToast("请选择您要发布的类型！","middle",2000);
          }
        }

      </script>
